package com.flash.mongodb.domain;

import org.springframework.data.annotation.Id;

import java.util.Date;

/**
 * @description: TODO
 * @author admin
 * @date 2023/1/1514:31
 * @version 1.0
 */
public class StudentLog {

    @Id
    private String _id;

    private String sname;

    private Date sdate;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Date getSdate() {
        return sdate;
    }

    public void setSdate(Date sdate) {
        this.sdate = sdate;
    }

    @Override
    public String toString() {
        return "StudentLog{" +
                "_id='" + _id + '\'' +
                ", sname='" + sname + '\'' +
                ", sdate=" + sdate +
                '}';
    }

    public StudentLog() {
    }
}
